<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:77:"D:\Code\matian\matian\application\admin\view\bootstrap\game_account\form.html";i:1498403651;}*/ ?>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>游戏账号信息表</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#<?php echo U('GameAccount/'); ?>">游戏账号信息表</a>
            </li>
            <li class="active">
                <strong><?php echo !empty($isEdit)?'修改':'添加'; ?>游戏账号信息表</strong>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div>
                        <button class="btn btn-link" type="button" onclick="history.back()">
                            <span class="fa fa-angle-left"></span>
                            返回
                        </button>
                    </div>
                    <form method="post" class="form-horizontal" id="form1">
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">对应游戏id</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['game_id']; ?>" placeholder="对应游戏id" name="game_id" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">对应平台账号id</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['plateform_id']; ?>" placeholder="对应平台账号id" name="plateform_id" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">创建日期</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['create_date']; ?>" placeholder="创建日期" name="create_date" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">是否停用</label>
                            <div class="col-sm-10">
                                <?php echo W('parts/op',['key'=>'yn','name'=>'is_stop','value'=>$m['is_stop']]); ?>
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">停用原因</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['stop_reason']; ?>" placeholder="停用原因" name="stop_reason" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">待交易</label>
                            <div class="col-sm-10">
                                <?php echo W('parts/op',['key'=>'yn','name'=>'wait_transaction','value'=>$m['wait_transaction']]); ?>
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏账号</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['game_account_number']; ?>" placeholder="游戏账号" name="game_account_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">待交易主题</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['transaction_title']; ?>" placeholder="待交易主题" name="transaction_title" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">待交易内容</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['transaction_content']; ?>" placeholder="待交易内容" name="transaction_content" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">交易金额</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['transaction_money']; ?>" placeholder="交易金额" name="transaction_money" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">待交易信息截图</label>
                            <div class="col-sm-10">

                                <?php echo _img_up('transaction_img',$m['transaction_img']); ?>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <!--<button class="btn btn-white" data-op="reset" type="button">重 置</button>-->
                                <!--&nbsp;-->
                                <!--&nbsp;-->
                                <button data-style="expand-left" class="btn btn-primary ladda-button" type="button"
                                        data-op="submit">确 定
                                </button>
                            </div>
                        </div>
                        <div>
                            <button class="btn btn-link" data-op="back" type="button">
                                <span class="fa fa-angle-left"></span>
                                返回
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    YForm.create('#form1', "<?php echo U('saveModel'); ?>",'<?php echo $m['id']; ?>');
</script>